setdisplay(320,240,32,1):paper(8^8-1):ink(0):pen(0):cls:mousehide
for a=1 to 10
    b=rnd(10):c=rnd(10)
  if (b<5) or (c>5) then
     prints(str$(b)+","+str$(c)+": b is smaller than 5, or c is greater than 5")
   end if
 next
waitkey